import request from '@/utils/request'

const URL = 'op/vipLevel'

export function sendPay(data) {
  return request({
    url: URL+'/pay',
    method: 'post',
    data: data
  })
}

export function add(data) {
  return request({
    url: URL + '/add',
    method: 'post',
    data: data
  })
}

export function update(data) {
  return request({
    url: URL + '/update',
    method: 'post',
    data: data
  })
}

export function findById(id) {
  return request({
    url: URL + '/'+id,
    method: 'get',
  })
}

export function del(id) {
  return request({
    url: URL + '/'+id,
    method: 'delete',
  })
}
